package com.ygqh.baby.service;

import java.util.List;

import com.ygqh.baby.ao.Message;
import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgVoteHelp;

/**
 * @author Ss
 */
public interface YgVoteHelpService {

	List<YgVoteHelp> find();

	int findCount();

	YgVoteHelp findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgVoteHelp ygVoteHelp);

	int update(YgVoteHelp ygVoteHelp);

	int saveOrUpdate(YgVoteHelp ygVoteHelp);

	ResultSet<YgVoteHelp> search(QueryInfo queryInfo, String q);

	Message addWxHelp(String seoId, String openId);

	String processVoteHelpByStep2(String telPhone, String openId, String fromCode);
}
